import ajax from '@/api/apiConfig.js'

/*隐患类型分布 */
export const getHiddenGradeNumByStatus = (data) => {
  return ajax.get('hiddenDanger/getHiddenGradeNumByStatus', data)
}
/*隐患处理时长统计 */
export const getHiddenStatistics = (data) => {
  return ajax.get('hiddenDanger/getHiddenStatistics', data)
}
/*隐患创建走势 */
export const getHiddenCreateStatistics = (data) => {
  return ajax.get('hiddenDanger/getHiddenCreateStatistics', data)
}
/*隐患热力图*/
export const getHiddenOrgStatistics = (data) => {
  return ajax.get('hiddenDanger/getHiddenOrgStatistics', data)
}